/* index.css 只是书写首页特有的样式 */
.focus {
  height: 476px;
  padding-top: 10px;
  padding-left: 220px;
}
/* 1.1 焦点图 - 加上宽高后，分区会更加稳定 */
.banner {
  float: left;
  width: 720px;
  height: 455px;
}
/* 图片设置固定的宽高更加稳妥，因为产品图片以后是用户上传的 */
.banner img {
  width: 720px;
  height: 455px;
}
/* 1.2 焦点右侧 */
.focus-right {
  float: right;
  width: 250px;
  height: 455px;
}

.focus-right .news {
  height: 165px;
  border: 1px solid #e4e4e4;
}
.news-head {
  height: 32px;
  line-height: 32px;
  border-bottom: 1px dotted #e4e4e4;
  padding: 0 16px;
}

.news-head h3 {
  float: left;
  color: #333;
  font-size: 14px;
}
.news-head a {
  float: right;
}
.news-head a span {
  color: #666;
}
.news-body {
  padding: 5px 15px;
}
.news-body li {
  line-height: 24px;
  /* 1. 设置文字不能换行 */
  white-space: nowrap;
  /* 2. 溢出隐藏 */
  overflow: hidden;
  /* 3. 溢出的文字变省略号 */
  text-overflow: ellipsis;
}
.news-body li span {
  font-weight: 700;
}

.service {
  height: 210px;
  border: 1px solid #e4e4e4;
  border-top: 0;
  /* 把超出盒子的部分隐藏掉 */
  overflow: hidden;
}
/* 为了能让li水平拍下来4个，需要给足够大的宽度 */
.service ul {
  width: 255px;
}
.service li {
  float: left;
  width: 63px;
  height: 71px;
  border-right: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  text-align: center;
  padding-top: 10px;
}

.service li div {
  width: 28px;
  height: 28px;
  display: inline-block;
  background: url(../images/icons.png) no-repeat;
}
.service li .icon1 {
  background-position: -15px -14px;
}
.service li .icon2 {
  background-position: -76px -14px;
}
.service li .icon3 {
  background-position: -138px -14px;
}
.service li .icon4 {
  background-position: -202px -14px;
}

.focus-right .ad {
  margin-top: 5px;
  height: 75px;
}
.focus-right .ad img {
  width: 250px;
  height: 75px;
}

/* 首页2.0 今日推荐 */
.recommend {
  height: 164px;
  background-color: pink;
}
.recommend-title {
  float: left;
  width: 206px;
  height: 164px;
  background-color: #5c5251;
  text-align: center;
  padding-top: 30px;
}
.recommend-title h3 {
  color: #fff;
  font-size: 18px;
  margin-top: 8px;
  font-weight: normal;
}

.recommend-list {
  float: left;
  width: 994px;
  height: 164px;
  background-color: #ebebeb;
}
.recommend-list li {
  float: left;
  width: 25%;
  height: 144px;
  margin: 10px 0;
  border-right: 1px solid #ddd;
}
.recommend-list li.last {
  border-right: 0;
}
.recommend-list li img {
  width: 246px;
  height: 144px;
}
.floor {
  margin-top: 20px;
  height: 485px;
  overflow: hidden;
}
.floor-head {
  height: 40px;
  line-height: 38px;
  border-bottom: 2px solid #c81623;
}
.floor-head h3 {
  float: left;
  font-weight: normal;
  font-size: 18px;
  color: #c81623;
}
.floor-head-right {
  float: right;
}
.floor-head-right span {
  margin: 0 10px;
  color: #999;
}

.floor-body {
  height: 360px;
  background-color: #fff;
  width: 1205px;
}
.floor-body > div {
  float: left;
}
.floor-body .column1 {
  width: 210px;
  height: 360px;
  text-align: center;
}
.column1-list {
  padding: 6px;
}
.column1-list li {
  float: left;
  border-bottom: 1px solid #ededed;
  margin: 0 6px;
  width: 86px;
  line-height: 32px;
}
.column1-img {
  margin-top: 10px;
}
.floor-body .column2 {
  width: 328px;
  height: 360px;
}
.floor-body .column3 {
  width: 221px;
  height: 360px;
  border-right: 1px solid #ededed;
}
.floor-body .column3 > a {
  display: block;
  border-bottom: 1px solid #ededed;
}

.floor-foot {
  height: 64px;
  margin-top: 20px;
  background-color: tan;
}
